package com.example.mapper;


import com.example.pojo.Teach;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TeachMapper {
    List<Teach> selectTeachByPid(int pid);
    List<Teach> selectTeachByUid(int uid);
    List<Teach> selectAllTeach();
    int insertTeach(Teach teach);
    int deleteTeachByUid(int uid);
    int deleteTeachByPid(int pid);
    int updateTeach(Teach teach);
}
